#Include <ScreenCapture.au3>
#Include <File.au3>
#Include <Date.au3>
#Include <GuiListView.au3>
#include <GUIComboBox.au3>
#Include <GuiTreeView.au3>
#include <GUIListBox.au3>
#include <GuiButton.au3>
#Include <GuiMenu.au3>
#Include <GuiSlider.au3>
#Include <..\include\Common_For_PageManager.au3>

Global $sFileName = "PageView.Log"
Global $sFilePatch = "C:\PageView\"
Global $SamplePatch = "C:\PageView\Sample\"


PageView3_1_151()
PageView3_1_152()
PageView3_1_153()
PageView3_1_154()
PageView3_1_155()
PageView3_1_156()
PageView3_1_157()
PageView3_1_158()
PageView3_1_159()
PageView3_1_160()
PageView3_1_161()
PageView3_1_162()
PageView3_1_163()
PageView3_1_165()
PageView3_1_166()
PageView3_1_168()
PageView3_1_169()
PageView3_1_170()
PageView3_1_171()
PageView3_1_172()
PageView3_1_173()
PageView3_1_174()
PageView3_1_175()
PageView3_1_176()
PageView3_1_177()
PageView3_1_178()
PageView3_1_179()
PageView3_1_180()
PageView3_1_181()
PageView3_1_182()
PageView3_1_183()
PageView3_1_184()
PageView3_1_185()
PageView3_1_186()
PageView3_1_187()
PageView3_1_188()
PageView3_1_189()
PageView3_1_190()
PageView3_1_191()
PageView3_1_192()
PageView3_1_193()
PageView3_1_194()
PageView3_1_195()
PageView3_1_196()
PageView3_1_197()
PageView3_1_198()
PageView3_1_199()
PageView3_1_200()
PageView3_1_201()
PageView3_1_202()
PageView3_1_203()
PageView3_1_204()
PageView3_1_205()
PageView3_1_206()
PageView3_1_207()
PageView3_1_208()
PageView3_1_209()
PageView3_1_210()
PageView3_1_211()
PageView3_1_212()
PageView3_1_213()
PageView3_1_214()
PageView3_1_215()
PageView3_1_216()
PageView3_1_217()
PageView3_1_218()
PageView3_1_219()
PageView3_1_220()
PageView3_1_221()
PageView3_1_222()
PageView3_1_223()
PageView3_1_224()
PageView3_1_225()
PageView3_1_226()
PageView3_1_227()
PageView3_1_228()
PageView3_1_229()
PageView3_1_230()
PageView3_1_231()
PageView3_1_232()
PageView3_1_233()
PageView3_1_234()
PageView3_1_235()
PageView3_1_236()
PageView3_1_237()
PageView3_1_238()
PageView3_1_239()
PageView3_1_240()
PageView3_1_241()
PageView3_1_242()
PageView3_1_243()
PageView3_1_244()
PageView3_1_245()
PageView3_1_246()
PageView3_1_247()
PageView3_1_248()
PageView3_1_249()
PageView3_1_250()
PageView3_1_251()
PageView3_1_252()
PageView3_1_253()
PageView3_1_254()
PageView3_1_255()
PageView3_1_256()
PageView3_1_257()
PageView3_1_258()
PageView3_1_259()
PageView3_1_260()
PageView3_1_261()
PageView3_1_262()
PageView3_1_263()
PageView3_1_264()
PageView3_1_265()
PageView3_1_266()
PageView3_1_267()
PageView3_1_268()
PageView3_1_269()
PageView3_1_270()
PageView3_1_271()
PageView3_1_278()
PageView3_1_287()
PageView3_1_288()
PageView3_1_289()
PageView3_1_290()
PageView3_1_291()




Func SelectSample($hPM)
	Common_SleepTime(2) 
	$hTreeView=ControlGetHandle($hPM,"","SysTreeView322")
	ControlTreeView ($hPM, "","SysTreeView322","Expand", "#0|#1")
	ControlTreeView ($hPM, "","SysTreeView322","Expand", "#0|#1|#0")
	Common_SleepTime(2) 
	$hItemFound = _GUICtrlTreeView_FindItem($hTreeView,"PageView")
	Common_SleepTime() 
	 _GUICtrlTreeView_Expand($hTreeView, $hItemFound)
	Common_SleepTime()
	$hItemFound1 = _GUICtrlTreeView_FindItem($hTreeView, "Sample")
    Common_SleepTime() 
	 _GUICtrlTreeView_ClickItem($hTreeView, $hItemFound1)
	 Common_SleepTime(4) 
EndFunc	

Func PageView1_1_1()
	Local $TestCase_Number = "1.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6) 
	$hThunbnail=ControlGetHandle($PMTitle,"","SysListView323")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hThunbnail,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView1_1_2()
	Local $TestCase_Number = "1.1.2"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6) 
	Send("!v")
	Common_SleepTime(1)	
	Send("t")
	Common_SleepTime(2)	
	$hViewMenu = WinGetHandle("[Class:#32768]")   ; Get handle of "View" menu.
	Common_SleepTime(2)	
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hViewMenu,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView1_1_3()
	Local $TestCase_Number = "1.1.3"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6) 
	$hThunbnail=ControlGetHandle($PMTitle,"","SysListView323")
	Common_SleepTime(2) 
	ControlClick($PMTitle, "", 31001)   ; Clicl "List view" button on tool bar.
	Common_SleepTime(4) 
	MouseClick("right",502,105)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("right",502,105)
	Common_SleepTime(2) 
	For $i=1 To 6
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hThunbnail,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_1()
	Local $TestCase_Number = "2.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_2()
	Local $TestCase_Number = "2.1.2"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_3()
	Local $TestCase_Number = "2.1.3"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,2,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_4()
	Local $TestCase_Number = "2.1.4"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,3,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_5()
	Local $TestCase_Number = "2.1.5"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,4,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_6()
	Local $TestCase_Number = "2.1.6"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_7()
	Local $TestCase_Number = "2.1.7"
	Common_Del_DB()
	Local $k=0
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	MouseClick("left",312,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	MouseClick("left",331,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	MouseClick("left",223,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_4.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	MouseClick("left",201,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_5.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	For $i=1 To 5 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_"&$i&".bmp", $sFilePatch&$TestCase_Number&"_"&$i&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			$k=$k+1
		Else
			Common_FileWriteLog_1("____FAIL"&$TestCase_Number&"_"&$i&".bmp", $TestCase_Number,$sFileName)
		EndIf
	Next
	If $k=5 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_8()
	Local $TestCase_Number = "2.1.8"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,6,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_9()
	Local $TestCase_Number = "2.1.9"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,7,"left", False, 2)
	Common_SleepTime(2) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_10()
	Local $TestCase_Number = "2.1.10"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,8,"left", False, 2)
	Common_SleepTime(10) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_11()
	Local $TestCase_Number = "2.1.11"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,9,"left", False, 2)
	Common_SleepTime(10) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_12()
	Local $TestCase_Number = "2.1.12"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,10,"left", False, 2)
	Common_SleepTime(10) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_13()
	Local $TestCase_Number = "2.1.13"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,11,"left", False, 2)
	Common_SleepTime(10) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_14()
	Local $TestCase_Number = "2.1.14"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,12,"left", False, 2)
	Common_SleepTime(10) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_15()
	Local $TestCase_Number = "2.1.15"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,13,"left", False, 2)
	Common_SleepTime(10) 
	IntoPageViewWhenPreferceDialog()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_16()
	Local $TestCase_Number = "2.1.16"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,14,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_17()
	Local $TestCase_Number = "2.1.17"
	Common_Del_DB()
	Local $k=0
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,14,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	MouseClick("left",312,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	MouseClick("left",331,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	MouseClick("left",223,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_4.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	MouseClick("left",201,660)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_5.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2)
	For $i=1 To 5 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_"&$i&".bmp", $sFilePatch&$TestCase_Number&"_"&$i&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			$k=$k+1
		Else
			Common_FileWriteLog_1("____FAIL"&$TestCase_Number&"_"&$i&".bmp", $TestCase_Number,$sFileName)
		EndIf
	Next
	If $k=5 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_18()
	Local $TestCase_Number = "2.1.18"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,18,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	ControlSetText("Password","",1003,"aaa")
	Common_SleepTime(2) 
	ControlClick("Password","",1)
	Common_SleepTime(2) 
	 If WinExists("PageManager") Then
		$t=ControlGetText("PageManager","",65535)
		Common_SleepTime(2)
		If $t='Password do not match!' Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf		
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_19()
	Local $TestCase_Number = "2.1.19"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,18,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	ControlClick("Password","",2)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_20()
	Local $TestCase_Number = "2.1.20"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,18,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	ControlSetText("Password","",1003,"111")
	Common_SleepTime(2) 
	ControlClick("Password","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_21()
	Local $TestCase_Number = "2.1.21"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,16,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_22()
	Local $TestCase_Number = "2.1.22"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_23()
	Local $TestCase_Number = "2.1.23"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,18,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_24()
	Local $TestCase_Number = "2.1.24"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_25()
	Local $TestCase_Number = "2.1.25"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,20,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_26()
	Local $TestCase_Number = "2.1.26"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,21,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_27()
	Local $TestCase_Number = "2.1.27"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,22,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_28()
	Local $TestCase_Number = "2.1.28"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,23,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_30()
	Local $TestCase_Number = "2.1.30"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_31()
	Local $TestCase_Number = "2.1.31"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,25,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_32()
	Local $TestCase_Number = "2.1.32"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,26,"left", False, 2)
	Common_SleepTime(5) 
	ControlClick("Preference","",1)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView2_1_33()
	Local $TestCase_Number = "2.1.33"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,27,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_1()
	Local $TestCase_Number = "3.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_2()
	Local $TestCase_Number = "3.1.2"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	Send("!v")
	Send("s")
	Send("{right}")
	Send("p")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_3()
	Local $TestCase_Number = "3.1.3"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"right", False, 1)
	Common_SleepTime(5) 
	Send("{down}")
	Send("{right}")
	Send("{enter}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_4()
	Local $TestCase_Number = "3.1.4"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	Send("!e")
	Send("d")
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_6()
	Local $TestCase_Number = "3.1.6"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	ControlListView($hPM,"","SysListView323","Select",0,1 )
	Common_SleepTime(5) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	Send("!e")
	Send("d")
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_7()
	Local $TestCase_Number = "3.1.7"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	MouseClick("right",300,200)
	Common_SleepTime(5) 
	Send("d")
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_8()
	Local $TestCase_Number = "3.1.8"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	Send("{DELETE}")
	Common_SleepTime(5) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
EndFunc

Func PageView3_1_9()
	Local $TestCase_Number = "3.1.9"
	Common_Del_DB()
	FileDelete($sFilePatch&$TestCase_Number& ".bmp")
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	$hSavelist=ControlGetHandle("[CLASS:#32770]","FolderView",1136)
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	_GUICtrlComboBox_SetCurSel($hSavelist,0)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save",1071)
	Common_SleepTime(2)
	ControlCommand("Settings","",1072,"Check", "")
	Common_SleepTime(2)
	ControlClick("Settings","",1)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save","Button2")
	Common_SleepTime(10)
	FileCopy(@MyDocumentsDir &"\My PageManager\"&$TestCase_Number&".bmp",$sFilePatch,1)
	Common_SleepTime(5) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_10()
	Local $TestCase_Number = "3.1.10"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","FolderView",1136)
	Send("g")
	Send("{enter}")
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save",1071)
	Common_SleepTime(2)
	ControlCommand("Settings","",1073,"Check", "")
	Common_SleepTime(2)
	ControlClick("Settings","",2)
	Common_SleepTime(2)
    If WinExists("Settings") Then
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    Else
	   Common_SleepTime(2)
		ControlClick("[CLASS:#32770]","Save",1071)
		Common_SleepTime(2)
		If ControlCommand("Settings","",1073,"IsChecked", "") Then
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		EndIf
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_11()
	Local $TestCase_Number = "3.1.11"
	Common_Del_DB()
	FileDelete($sFilePatch&$TestCase_Number& ".png")
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","FolderView",1136)
	Send("p")
	Send("p")
	Send("p")
	Send("{enter}")
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save",1071)
	Common_SleepTime(2)
	ControlCommand("Settings","",1073,"Check", "")
	Common_SleepTime(2)
	ControlClick("Settings","",1)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save","Button2")
	Common_SleepTime(10)
	FileCopy(@MyDocumentsDir &"\My PageManager\"&$TestCase_Number&".png",$sFilePatch,1)
	Common_SleepTime(5) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".png", $sFilePatch&$TestCase_Number&"c.png")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_12()
	Local $TestCase_Number = "3.1.12"
	Common_Del_DB()
	FileDelete($sFilePatch&$TestCase_Number& ".gif")
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","FolderView",1136)
	Send("g")
	Send("{enter}")
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save",1071)
	Common_SleepTime(2)
	ControlCommand("Settings","",1074,"Check", "")
	Common_SleepTime(2)
	ControlClick("Settings","",1)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save","Button2")
	Common_SleepTime(10)
	FileCopy(@MyDocumentsDir &"\My PageManager\"&$TestCase_Number&".gif",$sFilePatch,1)
	Common_SleepTime(5) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".gif", $sFilePatch&$TestCase_Number&"c.gif")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_13()
	Local $TestCase_Number = "3.1.13"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	$hSavelist=ControlGetHandle("[CLASS:#32770]","FolderView",1136)
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","FolderView",1136)
	Send("r")
	Send("{enter}")
	Common_SleepTime(2)
	If ControlCommand("[CLASS:#32770]","Save",1071,"IsEnabled", "") Then
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	Else
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_14()
	Local $TestCase_Number = "3.1.14"
	Common_Del_DB()
	FileDelete($sFilePatch&$TestCase_Number& ".rtf")
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","FolderView",1136)
	Send("r")
	Send("{enter}")
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save","Button2")
	Common_SleepTime(20)
	FileCopy(@MyDocumentsDir &"\My PageManager\"&$TestCase_Number&".rtf",$sFilePatch,1)
	Common_SleepTime(5) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".rtf", $sFilePatch&$TestCase_Number&"c.rtf")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_15()
	Local $TestCase_Number = "3.1.15"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	ControlClick($hPM,"","Button11")
	Common_SleepTime(5) 
	ControlSetText("[Class:#32770]","FolderView",1152,$TestCase_Number)
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","FolderView",1136)
	Send("g")
	Send("{enter}")
	Common_SleepTime(2)
	ControlClick("[CLASS:#32770]","Save",2)
	Common_SleepTime(10) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_19()
	Local $TestCase_Number = "3.1.19"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_20()
	Local $TestCase_Number = "3.1.20"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(6)
	MouseClickDrag("left",467,243,375,231)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_21()
	Local $TestCase_Number = "3.1.21"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(6)
	MouseClickDrag("left",467,243,375,231)
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(8)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_22()
	Local $TestCase_Number = "3.1.22"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!p")
	Send("w")
	Send("w")
	Send("{enter}")
	Common_SleepTime(6)
	MouseClickDrag("left",467,243,375,231)
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(8)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_23()
	Local $TestCase_Number = "3.1.23"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	ControlClick($hPM,"",1012)
	Common_SleepTime(40)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_24()
	Local $TestCase_Number = "3.1.24"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,8,"left", False, 1)
	Common_SleepTime(2) 
	ControlListView($hPM,"","SysListView323","Select",8,9 )
	Common_SleepTime(5) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(4)
PageviewButtontoPageview($hPM)
	ControlClick($hPM,"",1012)
	Common_SleepTime(40)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_25()
	Local $TestCase_Number = "3.1.25"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,8,"left", False, 1)
	Common_SleepTime(2) 
	ControlListView($hPM,"","SysListView323","Select",8,9 )
	Common_SleepTime(5) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(4)
PageviewButtontoPageview($hPM)
	ControlClick($hPM,"",1012)
	Common_SleepTime(40)
	MouseClick("left",271,103)
	Common_SleepTime(40)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_26()
	Local $TestCase_Number = "3.1.26"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Send("!t")
	Send("o")
	Common_SleepTime(40)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_27()
	Local $TestCase_Number = "3.1.27"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Send("!a")
	Send("o")
	Common_SleepTime(5)
	$hMenu=WinGetHandle("[Class:#32768]")
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hMenu,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(5)
	MouseClick("right",377,248)
	Common_SleepTime(2) 
	$hCMenu=WinGetHandle("[Class:#32768]")
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hCMenu,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc



Func PageView3_1_28()
	Local $TestCase_Number = "3.1.28"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_29()
	Local $TestCase_Number = "3.1.29"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_30()
	Local $TestCase_Number = "3.1.30"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	Send("!a")
	Send("n")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_31()
	Local $TestCase_Number = "3.1.31"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",995,300)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",310,195)
	Common_SleepTime(4)
	Send("!a")
	Send("n")
	Common_SleepTime(5) 
	Send("!a")
	Send("n")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_32()
	Local $TestCase_Number = "3.1.32"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	$hAudio=WinGetHandle("Audio Recorder")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAudio,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_33()
	Local $TestCase_Number = "3.1.33"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1  Then
		MouseClick("left",210,247,4)
		Common_SleepTime(2)
		$hPlay=WinGetHandle("Play Audio")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPlay,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult2  Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_34()
	Local $TestCase_Number = "3.1.34"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(120) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1  Then
		MouseClick("left",210,247,2)
		Common_SleepTime(30)
		$hPlay=WinGetHandle("Play Audio")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPlay,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult2  Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_35()
	Local $TestCase_Number = "3.1.35"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(360) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1  Then
		MouseClick("left",210,247,2)
		Common_SleepTime(30)
		$hPlay=WinGetHandle("Play Audio")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPlay,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult2  Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_36()
	Local $TestCase_Number = "3.1.36"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(60) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",2461)
	Common_SleepTime(20) 
	$hAudio=WinGetHandle("Audio Recorder")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAudio,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_37()
	Local $TestCase_Number = "3.1.37"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(60) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",2461)
	Common_SleepTime(20) 
	ControlClick("Audio Recorder","",2462)
	$hAudio=WinGetHandle("Audio Recorder")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAudio,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_38()
	Local $TestCase_Number = "3.1.38"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(10) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_39()
	Local $TestCase_Number = "3.1.39"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	$hMenu=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMenu,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_40()
	Local $TestCase_Number = "3.1.40"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 3
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(4) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_41()
	Local $TestCase_Number = "3.1.41"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(60) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 2
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(4) 
	$hPlay=WinGetHandle("Play Audio")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPlay,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_42()
	Local $TestCase_Number = "3.1.42"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(30) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 2
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(4) 
	$hPlay=WinGetHandle("Play Audio")
	ControlClick($hPlay,"",2471)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPlay,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_43()
	Local $TestCase_Number = "3.1.43"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",310,195)
	Common_SleepTime(4)
	For $i=1 To 4
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(5) 
	ControlClick("Audio Recorder","",2464)
	Common_SleepTime(30) 
	ControlClick("Audio Recorder","",2463)
	Common_SleepTime(2) 
	ControlClick("Audio Recorder","",1)
	Common_SleepTime(4)
	MouseClick("right",310,195)
	Common_SleepTime(2) 
	For $i=1 To 2
		Send("{up}")
	Next
	Common_SleepTime(2) 
	Send("{enter}")
	Common_SleepTime(4) 
	$hPlay=WinGetHandle("Play Audio")
	ControlClick($hPlay,"",2472)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPlay,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_55()
	Local $TestCase_Number = "3.1.55"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("abcdaaaaaaaaaaaaaaaa")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_56()
	Local $TestCase_Number = "3.1.56"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("!@#$%^&*())_+|?><:m,./'[]1234567890-=")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_57()
	Local $TestCase_Number = "3.1.57"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	MouseClick("right",263,149)
	Common_SleepTime(2) 
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	$hFont=WinGetHandle("Font")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFont,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_58()
	Local $TestCase_Number = "3.1.58"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("!a")
	Send("f")
	Common_SleepTime(2) 
	$hFont=WinGetHandle("Font")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFont,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_59()
	Local $TestCase_Number = "3.1.59"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	Send("{UP}")
	Send("{RIGHT}")
	Common_SleepTime(2) 
	$hText=WinGetHandle("[Class:#32768]")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hText,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_60()
	Local $TestCase_Number = "3.1.60"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	Send("{UP}")
	Send("{RIGHT}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaaa")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_61()
	Local $TestCase_Number = "3.1.61"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	Send("{UP}")
	Send("{RIGHT}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaa")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_62()
	Local $TestCase_Number = "3.1.62"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaa12")
	Common_SleepTime(5) 
	For $i=1 To 5
		Send("{BS}")
	Next
	Common_SleepTime(5) 
	Send("123")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_63()
	Local $TestCase_Number = "3.1.63"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaa12")
	Common_SleepTime(5) 
	MouseClick("left",1001,170)
	Common_SleepTime(5) 
	MouseClickDrag("left",299,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_64()
	Local $TestCase_Number = "3.1.64"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaa12")
	Common_SleepTime(5) 
	MouseClick("right",263,177)
	Common_SleepTime(5) 
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_65()
	Local $TestCase_Number = "3.1.65"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaa12")
	Common_SleepTime(5) 
	Send("{DELETE}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_66()
	Local $TestCase_Number = "3.1.66"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaa12")
	Common_SleepTime(5) 
	ControlClick($hPM,"",1125)
	Common_SleepTime(2)
	ControlClick($hPM,"",1125)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1006)
	Common_SleepTime(2)
	ControlClick($hPM,"",1006)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_67()
	Local $TestCase_Number = "3.1.67"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,265)
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaa12")
	Common_SleepTime(5) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_68()
	Local $TestCase_Number = "3.1.68"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	$hStamp=WinGetHandle("[Class:#32768]")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hStamp,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_69()
	Local $TestCase_Number = "3.1.69"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	$hStamp=WinGetHandle("[Class:#32768]")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hStamp,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_71()
	Local $TestCase_Number = "3.1.71"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseMove(263,129)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1,True)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_72()
	Local $TestCase_Number = "3.1.72"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	ControlClick($hPM,"",1026)
	Common_SleepTime(4)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_73()
	Local $TestCase_Number = "3.1.73"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	$hListView=ControlGetHandle("Stamps Properties","","SysListView321")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hListView,4)
	Common_SleepTime(10)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_74()
	Local $TestCase_Number = "3.1.74"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	ControlSetText("Add Image Stamp","",2082,"aaaaaaaaaa")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Add Image Stamp")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_75()
	Local $TestCase_Number = "3.1.75"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	ControlSetText("Add Image Stamp","",2082,"aaaaaaaaaaaaaaaaaaa2")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Add Image Stamp")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_77()
	Local $TestCase_Number = "3.1.77"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"01BMP.bmp")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_78()
	Local $TestCase_Number = "3.1.78"
	Common_Del_DB()
	FileCopy($SamplePatch&"01BMP.bmp",@MyDocumentsDir&"\My PageManager",1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",2150)
	Common_SleepTime(2)
	$hSe=ControlGetHandle("Add Image Stamp","","SysListView321")
	Common_SleepTime(2)
	_GUICtrlListView_ClickItem($hSe,3)
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","","Button2")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	FileDelete(@MyDocumentsDir&"\01BMP.bmp")
EndFunc

Func PageView3_1_79()
	Local $TestCase_Number = "3.1.79"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"01BMP.bmp")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_80()
	Local $TestCase_Number = "3.1.80"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"13pcx.pcx")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_81()
	Local $TestCase_Number = "3.1.81"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"05TIFF-G4.tif")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_82()
	Local $TestCase_Number = "3.1.82"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"07JPEG.jpg")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_83()
	Local $TestCase_Number = "3.1.83"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"08PCT.pct")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_84()
	Local $TestCase_Number = "3.1.84"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"09TGA.tga")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_85()
	Local $TestCase_Number = "3.1.85"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"14png.png")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_86()
	Local $TestCase_Number = "3.1.86"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	$hAdd=WinGetHandle("Add Image Stamp")
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"15pcd.PCD")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_87()
	Local $TestCase_Number = "3.1.87"
	Common_Del_DB()
	FileCopy($SamplePatch&"01BMP.bmp",@MyDocumentsDir&"\My PageManager",1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",2150)
	Common_SleepTime(2)
	$hSe=ControlGetHandle("Add Image Stamp","","SysListView321")
	Common_SleepTime(2)
	_GUICtrlListView_ClickItem($hSe,3)
	Common_SleepTime(2)
	ControlCommand("Add Image Stamp","","Button6","Check","")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Add Image Stamp")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_88()
	Local $TestCase_Number = "3.1.88"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2082,"aaaaaaaaaa")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Stamps Properties")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_89()
	Local $TestCase_Number = "3.1.89"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2082,"aaaaaaaaaaaaaaaaaaa2")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Stamps Properties")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_91()
	Local $TestCase_Number = "3.1.91"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2080,"aaaaaaaaaaaaaaaaaaa2aaaaaaaaaaaaaaaaaaa4")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Stamps Properties")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_92()
	Local $TestCase_Number = "3.1.92"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2080,"aaaaaaaaaaaaaaaaaaa2aaaaaaaaaaaaaaaaaaa4aaaaaaaaa9")
	Common_SleepTime(5)
	$hAdd=WinGetHandle("Stamps Properties")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_94()
	$tCur = _Date_Time_GetSystemTime()
	Local $TestCase_Number = "3.1.94"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	$tNew = _Date_Time_EncodeSystemTime(02, 10, 2005, 00, 00, 00)   ; @MON, @MDAY, @YEAR, @HOUR, @MIN, @SEC
	_Date_Time_SetLocalTime(DllStructGetPtr($tNew)) 
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",2083)
	Common_SleepTime(2)
	$hAdd=WinGetHandle("Stamps Properties")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	_Date_Time_SetLocalTime(DllStructGetPtr($tCur))
EndFunc

Func PageView3_1_95()
	$tCur = _Date_Time_GetSystemTime()
	Local $TestCase_Number = "3.1.95"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	$tNew = _Date_Time_EncodeSystemTime(02, 10, 2005, 00, 00, 00)   ; @MON, @MDAY, @YEAR, @HOUR, @MIN, @SEC
	_Date_Time_SetLocalTime(DllStructGetPtr($tNew)) 
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",2084)
	Common_SleepTime(2)
	$hAdd=WinGetHandle("Stamps Properties")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAdd,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	_Date_Time_SetLocalTime(DllStructGetPtr($tCur))
EndFunc

Func PageView3_1_96()
	Local $TestCase_Number = "3.1.96"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	$hText=WinGetHandle("Stamps Properties")
	ControlSetText("Stamps Properties","",2080,"aaaaaaaaaaaaaaaaaaa2aaaaaaaaaaaaaaaaaaa4")
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",2086)
	Common_SleepTime(2)
	$hFont=WinGetHandle("Font")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hFont,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlCommand("Font","","ComboLBox1","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox2","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox3","SetCurrentSelection", 1)
	Common_SleepTime(2)
	ControlClick("Font","",1)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hText,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_97()
	Local $TestCase_Number = "3.1.97"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	$hListView=ControlGetHandle("Stamps Properties","","SysListView321")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hListView,0)
	Common_SleepTime(5) 
	ControlClick("Stamps Properties","",2090)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_98()
	Local $TestCase_Number = "3.1.98"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	$hListView=ControlGetHandle("Stamps Properties","","SysListView321")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hListView,0)
	Common_SleepTime(5) 
	For $i=1 to 28 
		Common_SleepTime(2)
		ControlClick("Stamps Properties","",2090)
		Common_SleepTime(4) 
	Next
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",1)
	Common_SleepTime(2)
	MouseClick("left",997,300)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult And $CaptureCompareResult1 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_99()
	Local $TestCase_Number = "3.1.99"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	$hListView=ControlGetHandle("Stamps Properties","","SysListView321")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hListView,0)
	Common_SleepTime(5) 
    If ControlCommand("Stamps Properties","",2088,"IsEnabled", "") Then
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_100()
	Local $TestCase_Number = "3.1.100"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2082,"111")
	Common_SleepTime(2)
	ControlSetText("Stamps Properties","",2080,"aaaaaaaaaaaaaaaaaaa2")
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",1)
	Common_SleepTime(5)
	ControlClick("Stamps Properties","",2088)
	Common_SleepTime(5)
    If WinExists("Modify text stamp")  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_101()
	Local $TestCase_Number = "3.1.101"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2082,"111")
	Common_SleepTime(2)
	ControlSetText("Stamps Properties","",2080,"aaaaaaaaaaaaaaaaaaa2")
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",1)
	Common_SleepTime(5)
	ControlClick("Stamps Properties","",2088)
	Common_SleepTime(2)
	ControlSetText("Modify text stamp","",2082,"12345")
	Common_SleepTime(2)
	ControlClick("Modify text stamp","",1)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_102()
	Local $TestCase_Number = "3.1.102"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2089)
	Common_SleepTime(2) 
	ControlSetText("Stamps Properties","",2082,"111")
	Common_SleepTime(2)
	ControlSetText("Stamps Properties","",2080,"aaaaaaaaaaaaaaaaaaa2")
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",1)
	Common_SleepTime(5)
	ControlClick("Stamps Properties","",2088)
	Common_SleepTime(5)
	ControlSetText("Modify text stamp","",2080,"12345")
	Common_SleepTime(2)
	ControlClick("Modify text stamp","",1)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_103()
	Local $TestCase_Number = "3.1.103"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"01BMP.bmp")
	Common_SleepTime(2)
	ControlClick("Stamps Properties","",1)
	Common_SleepTime(5)
	ControlClick("Stamps Properties","",2088)
	Common_SleepTime(5)
    If WinExists("Modify bitmap stamp")  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_104()
	Local $TestCase_Number = "3.1.104"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"01BMP.bmp")
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	ControlClick("Stamps Properties","",2088)
	Common_SleepTime(5)
	ControlSetText("Modify bitmap stamp","",2082,"12345")
	Common_SleepTime(2)
	ControlClick("Modify bitmap stamp","",1)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_105()
	Local $TestCase_Number = "3.1.105"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	ControlClick("Stamps Properties","",2087)
	Common_SleepTime(2) 
	ControlSetText("Add Image Stamp","",2082,"001")
	Common_SleepTime(2)
	ControlSetText("Add Image Stamp","",2091,$SamplePatch&"01BMP.bmp")
	Common_SleepTime(2)
	ControlClick("Add Image Stamp","",1)
	Common_SleepTime(5)
	ControlClick("Stamps Properties","",2088)
	Common_SleepTime(5)
	ControlSetText("Modify bitmap stamp","",2091,$SamplePatch&"14png.png")
	Common_SleepTime(2)
	ControlClick("Modify bitmap stamp","",1)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",	$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_106()
	Local $TestCase_Number = "3.1.106"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,139)
	Common_SleepTime(2) 
	MouseClick("right",273,139)
	Common_SleepTime(5) 
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_107()
	Local $TestCase_Number = "3.1.107"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,139)
	Common_SleepTime(2) 
	Send("{DEL}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_108()
	Local $TestCase_Number = "3.1.108"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1125)
	Common_SleepTime(2)
	ControlClick($hPM,"",1125)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1006)
	Common_SleepTime(2)
	ControlClick($hPM,"",1006)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_109()
	Local $TestCase_Number = "3.1.109"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_110()
	Local $TestCase_Number = "3.1.110"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_111()
	Local $TestCase_Number = "3.1.111"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_112()
	Local $TestCase_Number = "3.1.112"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!a")
	Send("s")
	Common_SleepTime(4)
	$hProperties=WinGetHandle("Stamps Properties")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hProperties,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_114()
	Local $TestCase_Number = "3.1.114"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_115()
	Local $TestCase_Number = "3.1.115"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,333)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
    If WinExists("Color") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_116()
	Local $TestCase_Number = "3.1.116"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,333)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_117()
	Local $TestCase_Number = "3.1.117"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,333)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_118()
	Local $TestCase_Number = "3.1.118"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(2)
	Send("!a")
	Send("c")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_119()
	Local $TestCase_Number = "3.1.119"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",283,149,345,197)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_120()
	Local $TestCase_Number = "3.1.120"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,395,187)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_121()
	Local $TestCase_Number = "3.1.121"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",283,149)
	Common_SleepTime(2) 
	MouseClick("right",283,149)
	Common_SleepTime(5) 
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_122()
	Local $TestCase_Number = "3.1.122"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",283,149)
	Common_SleepTime(2) 
	Send("{DEL}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_123()
	Local $TestCase_Number = "3.1.123"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1125)
	Common_SleepTime(2)
	ControlClick($hPM,"",1125)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1006)
	Common_SleepTime(2)
	ControlClick($hPM,"",1006)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_124()
	Local $TestCase_Number = "3.1.124"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,333)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_126()
	Local $TestCase_Number = "3.1.126"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_127()
	Local $TestCase_Number = "3.1.127"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
    If WinExists("Color") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_128()
	Local $TestCase_Number = "3.1.128"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_129()
	Local $TestCase_Number = "3.1.129"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_130()
	Local $TestCase_Number = "3.1.130"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(2)
	Send("!a")
	Send("c")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_131()
	Local $TestCase_Number = "3.1.131"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
    If WinExists("Line Properties") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_132()
	Local $TestCase_Number = "3.1.132"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",386,335)
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_133()
	Local $TestCase_Number = "3.1.133"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",455,335)
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_134()
	Local $TestCase_Number = "3.1.134"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	For $i=0 To 7
		Common_SleepTime()
		MouseClick("left",527,335)
		Common_SleepTime()
	Next
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_135()
	Local $TestCase_Number = "3.1.135"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,371)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",386,335)
	Common_SleepTime(2)
	ControlClick("Line Properties","",2)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_136()
	Local $TestCase_Number = "3.1.136"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(2)
	Send("!a")
	Send("l")
	Common_SleepTime(4)
	MouseClick("left",455,335)
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_137()
	Local $TestCase_Number = "3.1.137"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",283,149,345,197)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_138()
	Local $TestCase_Number = "3.1.138"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,395,187)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_139()
	Local $TestCase_Number = "3.1.139"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",283,149)
	Common_SleepTime(2) 
	MouseClick("right",283,149)
	Common_SleepTime(5) 
	Send("{UP}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_140()
	Local $TestCase_Number = "3.1.140"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",283,149)
	Common_SleepTime(2) 
	Send("{DEL}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_141()
	Local $TestCase_Number = "3.1.141"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1125)
	Common_SleepTime(2)
	ControlClick($hPM,"",1125)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1006)
	Common_SleepTime(2)
	ControlClick($hPM,"",1006)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_142()
	Local $TestCase_Number = "3.1.142"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,371)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_144()
	Local $TestCase_Number = "3.1.144"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_145()
	Local $TestCase_Number = "3.1.145"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
    If WinExists("Color") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_146()
	Local $TestCase_Number = "3.1.146"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_147()
	Local $TestCase_Number = "3.1.147"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_148()
	Local $TestCase_Number = "3.1.148"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(2)
	MouseMove(599,377)
	Common_SleepTime(2)
	Send("!a")
	Send("c")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_149()
	Local $TestCase_Number = "3.1.149"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
    If WinExists("Line Properties") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_150()
	Local $TestCase_Number = "3.1.150"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",392,355)
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_151()
	Local $TestCase_Number = "3.1.151"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	For $i=0 To 5
		Common_SleepTime()
		MouseClick("left",461,355)
		Common_SleepTime()
	Next
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_152()
	Local $TestCase_Number = "3.1.152"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	For $i=0 To 7
		Common_SleepTime()
		MouseClick("left",530,355)
		Common_SleepTime()
	Next
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_153()
	Local $TestCase_Number = "3.1.153"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlClick("Line Properties","",2179)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_154()
	Local $TestCase_Number = "3.1.154"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlClick("Line Properties","",2179)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_155()
	Local $TestCase_Number = "3.1.155"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlClick("Line Properties","",2179)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_156()
	Local $TestCase_Number = "3.1.156"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,403)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",392,355)
	Common_SleepTime(2)
	ControlClick("Line Properties","",2179)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	ControlClick("Line Properties","",2)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_157()
	Local $TestCase_Number = "3.1.157"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(2)
	MouseMove(263,129)
	Common_SleepTime(2)
	Send("!a")
	Send("l")
	Common_SleepTime(4)
	MouseClick("left",455,335)
	Common_SleepTime(2)
	ControlClick("Line Properties","",2179)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	ControlClick("Line Properties","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_158()
	Local $TestCase_Number = "3.1.158"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",283,149,345,197)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_159()
	Local $TestCase_Number = "3.1.159"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,395,187)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_160()
	Local $TestCase_Number = "3.1.160"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",283,149)
	Common_SleepTime(2) 
	MouseClick("right",283,149)
	Common_SleepTime(5) 
	Send("{UP}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_161()
	Local $TestCase_Number = "3.1.161"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,139)
	Common_SleepTime(2) 
	Send("{DEL}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_162()
	Local $TestCase_Number = "3.1.162"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1125)
	Common_SleepTime(2)
	ControlClick($hPM,"",1125)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1006)
	Common_SleepTime(2)
	ControlClick($hPM,"",1006)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_163()
	Local $TestCase_Number = "3.1.163"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,403)
	Common_SleepTime(4)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_165()
	Local $TestCase_Number = "3.1.165"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,"aaaaaaaaaaaa")
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_166()
	Local $TestCase_Number = "3.1.166"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'!@#$%^&*()_+[]{}\;.,/"Select"')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_168()
	Local $TestCase_Number = "3.1.168"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(4)
	MouseClick("left",1001,170)
	Common_SleepTime(2)
	MouseClick("left",273,129,2)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'1111111111')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_169()
	Local $TestCase_Number = "3.1.169"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlCommand("Sticky Note","",2204,"Check","")
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_170()
	Local $TestCase_Number = "3.1.170"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlCommand("Sticky Note","",2204,"UnCheck","")
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_171()
	Local $TestCase_Number = "3.1.171"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,440)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Font","","ComboLBox1","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox2","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox3","SetCurrentSelection", 1)
	Common_SleepTime(2)
	ControlClick("Font","","Button5")
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_172()
	Local $TestCase_Number = "3.1.172"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,440)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
    If WinExists("Color") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_173()
	Local $TestCase_Number = "3.1.173"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,440)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(2)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_174()
	Local $TestCase_Number = "3.1.174"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("right",996,440)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(2)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_175()
	Local $TestCase_Number = "3.1.175"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,129,345,197)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_176()
	Local $TestCase_Number = "3.1.176"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,139)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,395,187)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_177()
	Local $TestCase_Number = "3.1.177"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,139)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",283,149)
	Common_SleepTime(2) 
	MouseClick("right",283,149)
	Common_SleepTime(5) 
	Send("{UP}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_178()
	Local $TestCase_Number = "3.1.178"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,139)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,139)
	Common_SleepTime(2) 
	Send("{DEL}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_179()
	Local $TestCase_Number = "3.1.179"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,139)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1125)
	Common_SleepTime(2)
	ControlClick($hPM,"",1125)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1006)
	Common_SleepTime(2)
	ControlClick($hPM,"",1006)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_180()
	Local $TestCase_Number = "3.1.180"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,139)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(5) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_181()
	Local $TestCase_Number = "3.1.181"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	Send("!e")
	Send("u")
	Common_SleepTime(2) 
	Send("!e")
	Send("a")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_182()
	Local $TestCase_Number = "3.1.182"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	Send("!e")
	Send("c")
	Common_SleepTime(2) 
	MouseClick("left",300,170)
	Common_SleepTime(2) 
	Send("!e")
	Send("a")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_183()
	Local $TestCase_Number = "3.1.183"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2)
	MouseClick("left",273,129)
	Common_SleepTime(2) 	
	Send("!e")
	Send("d")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_184()
	Local $TestCase_Number = "3.1.184"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	Send("!e")
	Send("u")
	Common_SleepTime(2) 
	Send("!e")
	Send("a")
	Common_SleepTime(2) 
	Send("!e")
	Send("O")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Send("!e")
	Send("e")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_185()
	Local $TestCase_Number = "3.1.185"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	MouseClick("right",284,132)
	Common_SleepTime(4) 
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")  
	MouseClick("right",284,132)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")  
	MouseClick("left",208,102)
	Common_SleepTime(2) 
	MouseClick("right",215,103)
	Common_SleepTime(2)
	For $i=1 To 3
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(2) 
	MouseClick("right",215,103)
	Common_SleepTime(2)
	Send("{up}")
	Send("{up}")
	Send("{up}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult3 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_3.bmp", $sFilePatch&$TestCase_Number&"_3c.bmp")   
	Common_SleepTime(2) 
	MouseClick("right",215,103)
	Common_SleepTime(2)
	For $i=1 To 5
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_4.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult4 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_4.bmp", $sFilePatch&$TestCase_Number&"_4c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2  And $CaptureCompareResult3 And $CaptureCompareResult4 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_186()
	Local $TestCase_Number = "3.1.186"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,440)
	Common_SleepTime(4)
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	ControlSetText("Sticky Note","",2159,'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
	Common_SleepTime(2)
	ControlClick("Sticky Note","",1)
	Common_SleepTime(2) 
	MouseClick("left",1001,170)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	Send("^x")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")  
	MouseClick("left",274,130)
	Send("^v")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")  
	MouseClick("left",205,103)
	Common_SleepTime(2)
	Send("^c")
	Common_SleepTime(2) 
	MouseClick("left",205,103)
	Common_SleepTime(2)
	Send("{DEL}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult3 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_3.bmp", $sFilePatch&$TestCase_Number&"_3c.bmp")   
	Common_SleepTime(2) 
	Send("^v")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_4.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult4 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_4.bmp", $sFilePatch&$TestCase_Number&"_4c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2  And $CaptureCompareResult3 And $CaptureCompareResult4 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_187()
	Local $TestCase_Number = "3.1.187"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",263,129,315,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",283,139,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_188()
	Local $TestCase_Number = "3.1.188"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(2) 
	Send("!e")
	Send("u")
	Common_SleepTime(2) 
	Send("!e")
	Send("a")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_189()
	Local $TestCase_Number = "3.1.189"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(2) 
	Send("!e")
	Send("c")
	Common_SleepTime(2) 
	Send("!e")
	Send("a")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_190()
	Local $TestCase_Number = "3.1.190"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(2) 
	Send("!e")
	Send("d")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_191()
	Local $TestCase_Number = "3.1.191"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Send("!e")
	Send("u")
	Common_SleepTime(2) 
	Send("!e")
	Send("a")
	Common_SleepTime(2) 
	Send("!e")
	Send("O")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Send("!e")
	Send("e")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_192()
	Local $TestCase_Number = "3.1.192"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(2) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 3
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")  
	Common_SleepTime(2) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")  
	Common_SleepTime(2)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 4
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(2) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 6
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult3 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_3.bmp", $sFilePatch&$TestCase_Number&"_3c.bmp")   
	Common_SleepTime(2) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_4.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult4 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_4.bmp", $sFilePatch&$TestCase_Number&"_4c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2  And $CaptureCompareResult3 And $CaptureCompareResult4 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_193()
	Local $TestCase_Number = "3.1.193"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,177)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(2) 
	Send("^x")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")  
	Send("^v")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(5) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")  
	Common_SleepTime(2)
	Send("^c")
	Common_SleepTime(2) 
	Send("{DEL}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult3 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_3.bmp", $sFilePatch&$TestCase_Number&"_3c.bmp")   
	Common_SleepTime(2) 
	Send("^v")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_4.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult4 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_4.bmp", $sFilePatch&$TestCase_Number&"_4c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2  And $CaptureCompareResult3 And $CaptureCompareResult4 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_194()
	Local $TestCase_Number = "3.1.194"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,301)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_195()
	Local $TestCase_Number = "3.1.195"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("right",996,301)
	Common_SleepTime(5) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	$hEraser=WinGetHandle("Eraser Setting")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hEraser,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_196()
	Local $TestCase_Number = "3.1.196"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("right",996,301)
	Common_SleepTime(5) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	For $i=1 To 7
		MouseClick("left",812,178)
	Next
	Common_SleepTime(4) 
	MouseClick("left",1000,146)
	Common_SleepTime(2) 
	MouseClick("left",996,301)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_197()
	Local $TestCase_Number = "3.1.197"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("right",996,301)
	Common_SleepTime(5) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	For $i=1 To 7
		MouseClick("left",967,178)
	Next
	Common_SleepTime(4) 
	MouseClick("left",1000,146)
	Common_SleepTime(2) 
	MouseClick("left",996,301)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_198()
	Local $TestCase_Number = "3.1.198"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("right",996,301)
	Common_SleepTime(5) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	MouseClick("left",802,234)
	Common_SleepTime(4) 
	MouseClick("left",1000,146)
	Common_SleepTime(2) 
	MouseClick("left",996,301)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_199()
	Local $TestCase_Number = "3.1.199"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,301)
	Common_SleepTime()
	MouseClick("right",996,301)
	Common_SleepTime(5) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	MouseClick("left",773,237)
	Common_SleepTime(4) 
	MouseClick("left",273,129)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, True)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_200()
	Local $TestCase_Number = "3.1.200"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,32,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	$hBar=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBar,0,0,-1,-1, True)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_201()
	Local $TestCase_Number = "3.1.201"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,33,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	$hBar=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBar,0,0,-1,-1, True)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_202()
	Local $TestCase_Number = "3.1.202"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(2)
	MouseMove(296,212)
	Common_SleepTime(2)
	Send("!u")
	Send("e")
	Common_SleepTime(4)
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_203()
	Local $TestCase_Number = "3.1.203"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,330)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5) 
	MouseClick("left",283,139)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_204()
	Local $TestCase_Number = "3.1.204"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,330)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5)
	MouseClick("left",283,139)
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_205()
	Local $TestCase_Number = "3.1.205"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,330)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5)
	MouseClick("left",283,139)
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_206()
	Local $TestCase_Number = "3.1.206"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,32,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,330)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5)
	MouseClick("left",283,139)
	Common_SleepTime(5)
	If WinExists("PageManager") Then
		$hMessage=WinGetHandle("PageManager")
		Common_SleepTime(5) 
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, True)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_207()
	Local $TestCase_Number = "3.1.207"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,33,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(4)
	MouseClick("left",996,330)
	Common_SleepTime(5) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(5)
	MouseClick("left",283,139)
	Common_SleepTime(5)
	If WinExists("PageManager") Then
		$hMessage=WinGetHandle("PageManager")
		Common_SleepTime(5) 
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, True)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_208()
	Local $TestCase_Number = "3.1.208"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(2)
	MouseMove(296,212)
	Common_SleepTime(2)
	Send("!u")
	Send("c")
	Common_SleepTime(4) 
	MouseClickDrag("left",273,129,315,177)
	Common_SleepTime(2) 
	MouseClick("left",283,139)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_209()
	Local $TestCase_Number = "3.1.209"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(2)
	MouseClick("left",996,408)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_210()
	Local $TestCase_Number = "3.1.210"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_211()
	Local $TestCase_Number = "3.1.211"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_212()
	Local $TestCase_Number = "3.1.212"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_213()
	Local $TestCase_Number = "3.1.213"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(2)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_214()
	Local $TestCase_Number = "3.1.214"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_215()
	Local $TestCase_Number = "3.1.215"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_216()
	Local $TestCase_Number = "3.1.216"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_217()
	Local $TestCase_Number = "3.1.217"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(2)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_218()
	Local $TestCase_Number = "3.1.218"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_219()
	Local $TestCase_Number = "3.1.219"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_220()
	Local $TestCase_Number = "3.1.220"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",997,300)
	Common_SleepTime(4)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",263,129)
	Common_SleepTime(4)
	MouseClick("right",283,139)
	Common_SleepTime(2)
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2)
	Send("{right}")
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_221()
	Local $TestCase_Number = "3.1.221"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!t")
	Send("r")
	Send("l")
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_222()
	Local $TestCase_Number = "3.1.222"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(2)
	MouseClick("left",996,371)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_223()
	Local $TestCase_Number = "3.1.223"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,439)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_224()
	Local $TestCase_Number = "3.1.224"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(2)
	MouseClick("left",996,439)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_225()
	Local $TestCase_Number = "3.1.225"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,439)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_226()
	Local $TestCase_Number = "3.1.226"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,439)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_227()
	Local $TestCase_Number = "3.1.227"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,439)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_228()
	Local $TestCase_Number = "3.1.228"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,474)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_229()
	Local $TestCase_Number = "3.1.229"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(2)
	MouseClick("left",996,474)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_230()
	Local $TestCase_Number = "3.1.230"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,474)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_231()
	Local $TestCase_Number = "3.1.231"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,474)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_232()
	Local $TestCase_Number = "3.1.232"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,474)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_233()
	Local $TestCase_Number = "3.1.233"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	$hBright=WinGetHandle("Set Brightness and Contrast")
	Common_SleepTime()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_234()
	Local $TestCase_Number = "3.1.234"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	ControlClick("Set Brightness and Contrast","",2)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_235()
	Local $TestCase_Number = "3.1.235"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	For $i=1 To 7
		MouseClick("left",532,420)
	Next
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_236()
	Local $TestCase_Number = "3.1.236"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	For $i=1 To 10
		MouseClick("left",389,420)
	Next
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_237()
	Local $TestCase_Number = "3.1.237"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	ControlSetText("Set Brightness and Contrast","",2310,"100")
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_238()
	Local $TestCase_Number = "3.1.238"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	For $i=1 To 10
		MouseClick("left",387,470)
	Next
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_239()
	Local $TestCase_Number = "3.1.239"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	ControlSetText("Set Brightness and Contrast","",2313,"100")
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_240()
	Local $TestCase_Number = "3.1.240"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	For $i=1 To 3
		ControlClick("Set Brightness and Contrast","",1000)
	Next
	Common_SleepTime(2)
	$hBright=WinGetHandle("Set Brightness and Contrast")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_241()
	Local $TestCase_Number = "3.1.241"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	For $i=1 To 3
		ControlClick("Set Brightness and Contrast","",1001)
	Next
	Common_SleepTime(2)
	$hBright=WinGetHandle("Set Brightness and Contrast")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_242()
	Local $TestCase_Number = "3.1.242"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,177)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	ControlSetText("Set Brightness and Contrast","",2313,"100")
	Common_SleepTime(2)
	ControlSetText("Set Brightness and Contrast","",2310,"100")
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_243()
	Local $TestCase_Number = "3.1.243"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	ControlSetText("Set Brightness and Contrast","",2313,"100")
	Common_SleepTime(2)
	ControlSetText("Set Brightness and Contrast","",2310,"100")
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_244()
	Local $TestCase_Number = "3.1.244"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	$hBar=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBar,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_245()
	Local $TestCase_Number = "3.1.245"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,511)
	Common_SleepTime(3)
	ControlSetText("Set Brightness and Contrast","",2313,"100")
	Common_SleepTime(2)
	ControlSetText("Set Brightness and Contrast","",2310,"100")
	Common_SleepTime(2)
	ControlClick("Set Brightness and Contrast","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_246()
	Local $TestCase_Number = "3.1.246"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	$hBright=WinGetHandle("Color Adjustment")
	Common_SleepTime()
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView3_1_247()
	Local $TestCase_Number = "3.1.247"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	ControlClick("Color Adjustment","",2)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_248()
	Local $TestCase_Number = "3.1.248"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	MouseClick("left",665,356)
	Common_SleepTime(2)
	ControlClick("Color Adjustment","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_249()
	Local $TestCase_Number = "3.1.249"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	MouseClick("left",665,356)
	Common_SleepTime(2)
	$hBright=WinGetHandle("Color Adjustment")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_250()
	Local $TestCase_Number = "3.1.250"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	For $i=1 To 3
		ControlClick("Color Adjustment","",1000)
	Next
	Common_SleepTime(2)
	$hBright=WinGetHandle("Color Adjustment")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_251()
	Local $TestCase_Number = "3.1.251"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	For $i=1 To 3
		ControlClick("Color Adjustment","",1001)
	Next
	Common_SleepTime(2)
	$hBright=WinGetHandle("Color Adjustment")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBright,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_252()
	Local $TestCase_Number = "3.1.252"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,157)
	Common_SleepTime(2)
	MouseClick("left",996,545)
	Common_SleepTime(3)
	MouseClick("left",665,356)
	Common_SleepTime(2)
	ControlClick("Color Adjustment","",1)
	Common_SleepTime(5)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_253()
	Local $TestCase_Number = "3.1.253"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	MouseClick("left",665,356)
	Common_SleepTime(2)
	ControlClick("Color Adjustment","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_254()
	Local $TestCase_Number = "3.1.254"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	$hBar=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hBar,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_255()
	Local $TestCase_Number = "3.1.255"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,545)
	Common_SleepTime(3)
	MouseClick("left",665,356)
	Common_SleepTime(2)
	ControlClick("Color Adjustment","",1)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_256()
	Local $TestCase_Number = "3.1.256"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,580)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_257()
	Local $TestCase_Number = "3.1.257"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,157)
	Common_SleepTime(2)
	MouseClick("left",996,580)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_258()
	Local $TestCase_Number = "3.1.258"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,580)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_259()
	Local $TestCase_Number = "3.1.259"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	$hBar=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_260()
	Local $TestCase_Number = "3.1.260"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,580)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_261()
	Local $TestCase_Number = "3.1.261"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,597)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_262()
	Local $TestCase_Number = "3.1.262"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,157)
	Common_SleepTime(2)
	MouseClick("left",996,597)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_263()
	Local $TestCase_Number = "3.1.263"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,597)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_264()
	Local $TestCase_Number = "3.1.264"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,597)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_265()
	Local $TestCase_Number = "3.1.265"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,597)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_266()
	Local $TestCase_Number = "3.1.266"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,594)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_267()
	Local $TestCase_Number = "3.1.267"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,179)
	Common_SleepTime(3)
	MouseClickDrag("left",273,129,345,157)
	Common_SleepTime(2)
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,594)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_268()
	Local $TestCase_Number = "3.1.268"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,594)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_269()
	Local $TestCase_Number = "3.1.269"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,34,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,594)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_270()
	Local $TestCase_Number = "3.1.270"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,35,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	MouseClick("left",996,112)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,635)
	Common_SleepTime(3) 
	MouseClick("left",996,594)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_271()
	Local $TestCase_Number = "3.1.271"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_278()
	Local $TestCase_Number = "3.1.278"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0,"left", False, 1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_287()
	Local $TestCase_Number = "3.1.287"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_288()
	Local $TestCase_Number = "3.1.288"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",310,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_289()
	Local $TestCase_Number = "3.1.289"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",330,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_290()
	Local $TestCase_Number = "3.1.290"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",330,654)
	Common_SleepTime(4)
	MouseClick("left",222,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView3_1_291()
	Local $TestCase_Number = "3.1.291"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,5,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",330,654)
	Common_SleepTime(4)
	MouseClick("left",203,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_1()
	Local $TestCase_Number = "4.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	MouseClick("right",273,129)
	Common_SleepTime(2)
	$hContext=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContext,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_4()
	Local $TestCase_Number = "4.1.4"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,16,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	MouseClick("right",273,129)
	Common_SleepTime(2)
	$hContext=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContext,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_5()
	Local $TestCase_Number = "4.1.5"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,36,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	MouseClick("right",273,129)
	Common_SleepTime(2)
	$hContext=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContext,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_9()
	Local $TestCase_Number = "4.1.9"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,36,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	Send("{down}")
	Send("{down}")
	Send("{down}")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_10()
	Local $TestCase_Number = "4.1.10"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,36,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	Send("!v")
	Send("s")
	Common_SleepTime(2) 
	Send("{right}")
	Send("{enter}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_11()
	Local $TestCase_Number = "4.1.11"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,36,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	ControlClick($hPM,"",1026)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_22()
	Local $TestCase_Number = "4.1.22"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!e")
	Send("d")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_23()
	Local $TestCase_Number = "4.1.23"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!e")
	Send("d")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_24()
	Local $TestCase_Number = "4.1.24"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 18)
	Common_SleepTime(2) 
	ControlListView ($hPM,"","SysListView323","Select", 18 , 19)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!e")
	Send("d")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_25()
	Local $TestCase_Number = "4.1.25"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 5
		Send("{up}")
	Next
	Send("{enter}")	
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_26()
	Local $TestCase_Number = "4.1.26"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("{DEL}")	
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_50()
	Local $TestCase_Number = "4.1.50"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_51()
	Local $TestCase_Number = "4.1.51"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_52()
	Local $TestCase_Number = "4.1.52"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClickDrag("left",293,159,335,197)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_53()
	Local $TestCase_Number = "4.1.53"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",996,167)	
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	ControlCommand("Font","","ComboLBox1","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox2","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox3","SetCurrentSelection", 1)
	Common_SleepTime(2)
	ControlClick("Font","",1)
	Common_SleepTime(4)
	MouseClick("right",996,167)	
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	$hFont=WinGetHandle("Font")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFont,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_54()
	Local $TestCase_Number = "4.1.54"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",996,167)	
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	ControlCommand("Font","","ComboLBox1","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox2","SetCurrentSelection", 1)
	ControlCommand("Font","","ComboLBox3","SetCurrentSelection", 1)
	Common_SleepTime(2)
	ControlClick("Font","",1)
	Common_SleepTime(2)
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_55()
	Local $TestCase_Number = "4.1.55"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2)
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_56()
	Local $TestCase_Number = "4.1.56"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_57()
	Local $TestCase_Number = "4.1.57"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	For $i=1 To 4
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_58()
	Local $TestCase_Number = "4.1.58"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	For $i=1 To 4
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_59()
	Local $TestCase_Number = "4.1.59"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_60()
	$tCur = _Date_Time_GetSystemTime()
	Local $TestCase_Number = "4.1.60"
	Common_Del_DB()
	Common_SleepTime(2) 
	$tNew = _Date_Time_EncodeSystemTime(02, 10, 2005, 00, 00, 00)   ; @MON, @MDAY, @YEAR, @HOUR, @MIN, @SEC
	_Date_Time_SetLocalTime(DllStructGetPtr($tNew)) 
	Common_SleepTime(2)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	_Date_Time_SetLocalTime(DllStructGetPtr($tCur))
EndFunc

Func PageView4_1_61()
	Local $TestCase_Number = "4.1.61"
	Common_Del_DB()
	Common_SleepTime(2) 
	$tNew = _Date_Time_EncodeSystemTime(02, 10, 2005, 00, 00, 00)   ; @MON, @MDAY, @YEAR, @HOUR, @MIN, @SEC
	_Date_Time_SetLocalTime(DllStructGetPtr($tNew)) 
	Common_SleepTime(2)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_62()
	Local $TestCase_Number = "4.1.62"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,167)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_63()
	Local $TestCase_Number = "4.1.63"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_64()
	Local $TestCase_Number = "4.1.64"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_65()
	Local $TestCase_Number = "4.1.65"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	MouseClickDrag("left",293,159,335,197)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_66()
	Local $TestCase_Number = "4.1.66"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2)
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_67()
	Local $TestCase_Number = "4.1.67"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2) 
    If WinExists("Color") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_68()
	Local $TestCase_Number = "4.1.68"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_69()
	Local $TestCase_Number = "4.1.69"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_70()
	Local $TestCase_Number = "4.1.70"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2) 
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_71()
	Local $TestCase_Number = "4.1.71"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_72()
	Local $TestCase_Number = "4.1.72"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(2)
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_73()
	Local $TestCase_Number = "4.1.73"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClickDrag("left",293,159,335,197)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_75()
	Local $TestCase_Number = "4.1.75"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send('!@#$%^&*()_+?><:"{|sad34')
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_76()
	Local $TestCase_Number = "4.1.76"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaaaaaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",293,159)
	Common_SleepTime(2)
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_77()
	Local $TestCase_Number = "4.1.77"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_78()
	Local $TestCase_Number = "4.1.78"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	For $i=1 To 4
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_79()
	Local $TestCase_Number = "4.1.79"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	For $i=1 To 4
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_80()
	Local $TestCase_Number = "4.1.80"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_81()
	$tCur = _Date_Time_GetSystemTime()
	Local $TestCase_Number = "4.1.81"
	Common_Del_DB()
	Common_SleepTime(2) 
	$tNew = _Date_Time_EncodeSystemTime(02, 10, 2005, 00, 00, 00)   ; @MON, @MDAY, @YEAR, @HOUR, @MIN, @SEC
	_Date_Time_SetLocalTime(DllStructGetPtr($tNew)) 
	Common_SleepTime(2)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	_Date_Time_SetLocalTime(DllStructGetPtr($tCur))
EndFunc

Func PageView4_1_82()
	$tCur = _Date_Time_GetSystemTime()
	Local $TestCase_Number = "4.1.82"
	Common_Del_DB()
	Common_SleepTime(2) 
	$tNew = _Date_Time_EncodeSystemTime(02, 10, 2005, 00, 00, 00)   ; @MON, @MDAY, @YEAR, @HOUR, @MIN, @SEC
	_Date_Time_SetLocalTime(DllStructGetPtr($tNew)) 
	Common_SleepTime(2)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",283,149,2)
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2)
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	_Date_Time_SetLocalTime(DllStructGetPtr($tCur))
EndFunc

Func PageView4_1_83()
	Local $TestCase_Number = "4.1.83"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(2) 
    If WinExists("Color") Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_84()
	Local $TestCase_Number = "4.1.84"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",1)
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_85()
	Local $TestCase_Number = "4.1.85"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2) 
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("left",599,377)
	Common_SleepTime(2)
	ControlClick("Color","",2)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_86()
	Local $TestCase_Number = "4.1.86"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2) 
	Send("{UP}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_87()
	Local $TestCase_Number = "4.1.87"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2) 
	Send("{UP}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	MouseClick("right",283,149)
	Common_SleepTime(2) 
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_88()
	Local $TestCase_Number = "4.1.88"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,242)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	Send("aaaaaaaaaaaa11")
	Common_SleepTime(2) 
	MouseClick("left",325,187)	
	Common_SleepTime(2)
	MouseClick("right",283,149)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_89()
	Local $TestCase_Number = "4.1.89"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_92()
	Local $TestCase_Number = "4.1.92"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_97()
	Local $TestCase_Number = "4.1.97"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!t")
	Send("r")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView4_1_98()
	Local $TestCase_Number = "4.1.98"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	Send("!t")
	Send("r")
	Send("{ENTER}")
	Common_SleepTime(4) 
	If WinExists("Presto! PageManager") Then
		$hMessage=WinGetHandle("Presto! PageManager")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_99()
	Local $TestCase_Number = "4.1.99"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!t")
	Send("r")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView4_1_100()
	Local $TestCase_Number = "4.1.100"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	Send("!t")
	Send("r")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	If WinExists("Presto! PageManager") Then
		$hMessage=WinGetHandle("Presto! PageManager")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_101()
	Local $TestCase_Number = "4.1.101"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!t")
	Send("r")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView4_1_102()
	Local $TestCase_Number = "4.1.102"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2)
	Send("!t")
	Send("r")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	If WinExists("Presto! PageManager") Then
		$hMessage=WinGetHandle("Presto! PageManager")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_103()
	Local $TestCase_Number = "4.1.103"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4) 
   If WinExists("Find") Then
		$hFind=WinGetHandle("Find")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFind,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_104()
	Local $TestCase_Number = "4.1.104"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10023,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"data")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_105()
	Local $TestCase_Number = "4.1.105"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10023,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"AAAA")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	If WinExists("PageManager") Then
		$hMessage=WinGetHandle("PageManager")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_106()
	Local $TestCase_Number = "4.1.106"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"data")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_107()
	Local $TestCase_Number = "4.1.107"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"data")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_108()
	Local $TestCase_Number = "4.1.108"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"data")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("{F3}")
	Common_SleepTime(4) 
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{up}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_109()
	Local $TestCase_Number = "4.1.109"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("^f")
	Common_SleepTime(4) 
   If WinExists("Find") Then
		$hFind=WinGetHandle("Find")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFind,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_110()
	Local $TestCase_Number = "4.1.110"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"data")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("{F3}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_111()
	Local $TestCase_Number = "4.1.111"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,1,"left", False, 2)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"data")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("{F3}")
	Common_SleepTime(4) 
	Send("{LSHIFT}+{F3}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_112()
	Local $TestCase_Number = "4.1.112"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_113()
	Local $TestCase_Number = "4.1.113"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",310,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_114()
	Local $TestCase_Number = "4.1.114"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",330,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_115()
	Local $TestCase_Number = "4.1.115"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",330,654)
	Common_SleepTime(4)
	MouseClick("left",222,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView4_1_116()
	Local $TestCase_Number = "4.1.116"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,17)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(8)
	MouseClick("left",330,654)
	Common_SleepTime(4)
	MouseClick("left",203,654)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_1()
	Local $TestCase_Number = "5.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	Send("{down}")
	Send("{right}")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_2()
	Local $TestCase_Number = "5.1.2"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	Send("!v")
	Send("s")
	Common_SleepTime(2) 
	Send("{right}")
	Send("{enter}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_3()
	Local $TestCase_Number = "5.1.3"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(4)
	ControlClick($hPM,"",1026)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_10()
	Local $TestCase_Number = "5.1.10"
	Common_Del_DB()
	FileCopy($SamplePatch&"zz05doc.doc",@MyDocumentsDir,1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	$hWnd=ControlGetHandle($PMTitle,"",1000)
	Common_SleepTime(2) 
	$hItemFound = _GUICtrlTreeView_FindItem($hWnd, "My Documents")
	Common_SleepTime(2) 
	_GUICtrlTreeView_ClickItem($hWnd,$hItemFound)
	Common_SleepTime(6) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!e")
	Send("d")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
	FileDelete(@MyDocumentsDir&"\zz05doc.doc")
EndFunc

Func PageView5_1_11()
	Local $TestCase_Number = "5.1.11"
	Common_Del_DB()
	FileCopy($SamplePatch&"zz05doc.doc",@MyDocumentsDir,1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	$hWnd=ControlGetHandle($PMTitle,"",1000)
	Common_SleepTime(2) 
	$hItemFound = _GUICtrlTreeView_FindItem($hWnd, "My Documents")
	Common_SleepTime(2) 
	_GUICtrlTreeView_ClickItem($hWnd,$hItemFound)
	Common_SleepTime(6) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!e")
	Send("d")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",7)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	FileDelete(@MyDocumentsDir&"\zz05doc.doc")
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_12()
	Local $TestCase_Number = "5.1.12"
	Common_Del_DB()
	FileCopy($SamplePatch&"zz05doc.doc",@MyDocumentsDir,1)
	FileCopy($SamplePatch&"zz07xlsl.XLS",@MyDocumentsDir,1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	$hWnd=ControlGetHandle($PMTitle,"",1000)
	Common_SleepTime(2) 
	$hItemFound = _GUICtrlTreeView_FindItem($hWnd, "My Documents")
	Common_SleepTime(2) 
	_GUICtrlTreeView_ClickItem($hWnd,$hItemFound)
	Common_SleepTime(6) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	Common_SleepTime(5) 
	ControlListView ($hPM,"","SysListView323","Select", 0 , 1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!e")
	Send("d")
	Common_SleepTime() 
	Send("{enter}")
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	FileDelete(@MyDocumentsDir&"\zz05doc.doc")
	FileDelete(@MyDocumentsDir&"\zz07xlsl.XLS.doc")
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_13()
	Local $TestCase_Number = "5.1.13"
	Common_Del_DB()
	FileCopy($SamplePatch&"zz05doc.doc",@MyDocumentsDir,1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	$hWnd=ControlGetHandle($PMTitle,"",1000)
	Common_SleepTime(2) 
	$hItemFound = _GUICtrlTreeView_FindItem($hWnd, "My Documents")
	Common_SleepTime(2) 
	_GUICtrlTreeView_ClickItem($hWnd,$hItemFound)
	Common_SleepTime(6) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{up}")
	Next
	Send("{enter}")	
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	FileDelete(@MyDocumentsDir&"\zz05doc.doc")
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_14()
	Local $TestCase_Number = "5.1.14"
	Common_Del_DB()
	FileCopy($SamplePatch&"zz05doc.doc",@MyDocumentsDir,1)
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	$hWnd=ControlGetHandle($PMTitle,"",1000)
	Common_SleepTime(2) 
	$hItemFound = _GUICtrlTreeView_FindItem($hWnd, "My Documents")
	Common_SleepTime(2) 
	_GUICtrlTreeView_ClickItem($hWnd,$hItemFound)
	Common_SleepTime(6) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("{DEL}")	
	Common_SleepTime(2) 
	ControlClick("Presto! PageManager","",6)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	FileDelete(@MyDocumentsDir&"\zz05doc.doc")
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_15()
	Local $TestCase_Number = "5.1.15"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(4)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(4)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,25)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_3.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult3 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_3.bmp", $sFilePatch&$TestCase_Number&"_3c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 And $CaptureCompareResult3 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_16()
	Local $TestCase_Number = "5.1.16"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,21)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	ControlClick($hPM,"",1026)
	Common_SleepTime(4)
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,23)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2  Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_17()
	Local $TestCase_Number = "5.1.17"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_18()
	Local $TestCase_Number = "5.1.18"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_19()
	Local $TestCase_Number = "5.1.19"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_20()
	Local $TestCase_Number = "5.1.20"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_21()
	Local $TestCase_Number = "5.1.21"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_22()
	Local $TestCase_Number = "5.1.22"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_23()
	Local $TestCase_Number = "5.1.23"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_24()
	Local $TestCase_Number = "5.1.24"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_25()
	Local $TestCase_Number = "5.1.25"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_26()
	Local $TestCase_Number = "5.1.26"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_27()
	Local $TestCase_Number = "5.1.27"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 7
		Send("{down}")
	Next
	Common_SleepTime(2) 
	Send("{right}")
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2) 
	Send("!P")
	Send("F")
	Common_SleepTime(2) 
	Send("{RIGHT}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(5) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_28()
	Local $TestCase_Number = "5.1.28"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_29()
	Local $TestCase_Number = "5.1.29"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_30()
	Local $TestCase_Number = "5.1.30"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClick("left",273,129)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(4) 
	MouseClick("right",273,129)
	Common_SleepTime(2) 
	For $i=1 To 8
		Send("{DOWN}")
	Next
	Common_SleepTime(2) 
	Send("{ENTER}")
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_54()
	Local $TestCase_Number = "5.1.54"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,329,533,379)
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_55()
	Local $TestCase_Number = "5.1.55"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,184)
	Common_SleepTime(2) 
	MouseClickDrag("left",581,532,581,133)
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_56()
	Local $TestCase_Number = "5.1.56"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,329,533,379)
	Common_SleepTime(2)
	MouseClick("left",998,234)
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_57()
	Local $TestCase_Number = "5.1.57"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,23)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_58()
	Local $TestCase_Number = "5.1.58"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClick("left",555,400)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_59()
	Local $TestCase_Number = "5.1.59"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,329,533,379)
	Common_SleepTime(2)
	MouseClick("left",998,234)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,329,433,359)
	Common_SleepTime(2)
	MouseClick("left",998,342)
	Common_SleepTime(2) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_60()
	Local $TestCase_Number = "5.1.60"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClick("left",555,400)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	MouseClick("left",998,340)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_61()
	Local $TestCase_Number = "5.1.61"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,329,533,379)
	Common_SleepTime(2)
	MouseClick("left",998,234)
	Common_SleepTime(2) 
	Common_SleepTime(2) 
	MouseClickDrag("left",273,529,533,579)
	Common_SleepTime(2)
	MouseClick("left",998,234)
	Common_SleepTime(2)
	MouseClick("left",998,376)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_62()
	Local $TestCase_Number = "5.1.62"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,19)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClickDrag("left",273,329,533,379)
	Common_SleepTime(2)
	MouseClick("left",998,234)
	Common_SleepTime(2) 
	Common_SleepTime(2) 
	MouseClickDrag("left",273,529,533,579)
	Common_SleepTime(2)
	MouseClick("left",998,234)
	Common_SleepTime(2)
	MouseClick("left",998,376)
	Common_SleepTime(2)
	MouseClick("left",998,411)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_63()
	Local $TestCase_Number = "5.1.63"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClick("left",555,400)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	Common_SleepTime(2) 
	MouseClick("left",455,350)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	MouseClick("left",998,446)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_64()
	Local $TestCase_Number = "5.1.64"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	MouseClick("left",998,144)
	Common_SleepTime(2) 
	MouseClick("left",555,400)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	Common_SleepTime(2) 
	MouseClick("left",455,350)
	Common_SleepTime(2) 
	MouseClick("left",998,274)
	Common_SleepTime(2) 
	MouseClick("left",998,446)
	Common_SleepTime(2)
	MouseClick("left",998,482)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_65()
	Local $TestCase_Number = "5.1.65"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2)  
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4) 
   If WinExists("Find") Then
		$hFind=WinGetHandle("Find")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFind,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_66()
	Local $TestCase_Number = "5.1.66"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10023,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"CPU")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_67()
	Local $TestCase_Number = "5.1.67"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10023,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"AAAA")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	If WinExists("PageManager") Then
		$hMessage=WinGetHandle("PageManager")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_68()
	Local $TestCase_Number = "5.1.68"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"CPU")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_69()
	Local $TestCase_Number = "5.1.69"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"CPU")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{down}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_70()
	Local $TestCase_Number = "5.1.70"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"CPU")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("{F3}")
	Common_SleepTime(4) 
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{up}")
	Send("{ENTER}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_71()
	Local $TestCase_Number = "5.1.71"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("^f")
	Common_SleepTime(4) 
   If WinExists("Find") Then
		$hFind=WinGetHandle("Find")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hFind,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_72()
	Local $TestCase_Number = "5.1.72"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"CPU")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("{F3}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_73()
	Local $TestCase_Number = "5.1.73"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("f")
	Send("f")
	Send("{right}")
	Send("{ENTER}")
	Common_SleepTime(4)
	ControlCommand("Find","",10024,"Check","")
	ControlCommand("Find","",10025,"Check","")
	Common_SleepTime(2)
	ControlSetText("Find","",10022,"CPU")
	Common_SleepTime(2)
	ControlClick("Find","",10026)
	Common_SleepTime(6) 
	Send("{F3}")
	Common_SleepTime(4) 
	Send("{LSHIFT}+{F3}")
	Common_SleepTime(4) 
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_74()
	Local $TestCase_Number = "5.1.74"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,23)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_77()
	Local $TestCase_Number = "5.1.77"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2)  
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,23)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_80()
	Local $TestCase_Number = "5.1.80"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2)  
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	$hMenu=WinGetHandle("[Class:#32768]")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMenu,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView5_1_81()
	Local $TestCase_Number = "5.1.81"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,24)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	$hMenu=WinGetHandle("[Class:#32768]")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMenu,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func PageView5_1_82()
	Local $TestCase_Number = "5.1.82"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,23)
	Common_SleepTime(5) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(2)
	ControlClick("Preference","",1)
	Common_SleepTime(6)
	ControlClick($hPM,"",1225)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_1()
	Local $TestCase_Number = "7.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	$hAnnotation=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hAnnotation,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_2()
	Local $TestCase_Number = "7.1.2"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	MouseClick("left",995,148)
	Common_SleepTime(2)
	MouseClick("left",394,301)
	Common_SleepTime(2)
	MouseClick("left",995,233)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_3()
	Local $TestCase_Number = "7.1.3"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	MouseClick("left",995,148)
	Common_SleepTime(2)
	MouseClick("left",394,301)
	Common_SleepTime(2)
	MouseClick("left",995,269)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_4()
	Local $TestCase_Number = "7.1.4"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	MouseClick("left",995,148)
	Common_SleepTime(2)
	MouseClick("left",394,301)
	Common_SleepTime(2)
	MouseClick("left",995,306)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_5()
	Local $TestCase_Number = "7.1.5"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	MouseClickDrag("left",743,569,524,569)
	Common_SleepTime(2)
	$hPreview=WinGetHandle("Preview")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPreview,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_6()
	Local $TestCase_Number = "7.1.6"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	MouseClickDrag("left",524,606,743,606)
	Common_SleepTime(2)
	$hPreview=WinGetHandle("Preview")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPreview,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_7()
	Local $TestCase_Number = "7.1.7"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	MouseClick("left",955,519)
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_8()
	Local $TestCase_Number = "7.1.8"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("{F10}")
	Common_SleepTime(2)
	Send("!o")
	Send("{up}")
	Common_SleepTime()
	Send("{enter}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_9()
	Local $TestCase_Number = "7.1.9"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("{F10}")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_10()
	Local $TestCase_Number = "7.1.10"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_11()
	Local $TestCase_Number = "7.1.11"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	For $I=1 To 1
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_12()
	Local $TestCase_Number = "7.1.12"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	For $I=1 To 2
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_13()
	Local $TestCase_Number = "7.1.13"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	For $I=1 To 3
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_14()
	Local $TestCase_Number = "7.1.14"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	For $I=1 To 4
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_15()
	Local $TestCase_Number = "7.1.15"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	For $I=1 To 5
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_16()
	Local $TestCase_Number = "7.1.16"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("o")
	Common_SleepTime(2)
	For $I=1 To 6
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_17()
	Local $TestCase_Number = "7.1.17"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2)
	SelectSample($hPM)
	Common_SleepTime(2)  
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_18()
	Local $TestCase_Number = "7.1.18"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	For $I=1 To 1
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_19()
	Local $TestCase_Number = "7.1.19"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	For $I=1 To 2
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_20()
	Local $TestCase_Number = "7.1.20"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	For $I=1 To 3
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_21()
	Local $TestCase_Number = "7.1.21"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	For $I=1 To 4
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_22()
	Local $TestCase_Number = "7.1.22"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	For $I=1 To 5
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_23()
	Local $TestCase_Number = "7.1.23"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	Send("!p")
	Send("I")
	Common_SleepTime(2)
	For $I=1 To 6
		Send("{down}")
	Next
	Common_SleepTime(2)
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_24()
	Local $TestCase_Number = "7.1.24"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	ControlClick($hPM,"",1125)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView7_1_25()
	Local $TestCase_Number = "7.1.25"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	SelectSample($hPM)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,37)
	Common_SleepTime(2) 
	PageviewButtontoPageview($hPM)
	Common_SleepTime(5)
	ControlClick($hPM,"",1012)
	Common_SleepTime(30)
	ControlClick($hPM,"",1006)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_1()
	Local $TestCase_Number = "8.1.1"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	$hAnnotation=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hAnnotation,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	MouseClick("LEFT",267,104)
	Common_SleepTime(10)
	$hAnnotation=ControlGetHandle($hPM,"","AfxWnd4211")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hAnnotation,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_2()
	Local $TestCase_Number = "8.1.2"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 1)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(4)
	ControlClick("Preference","",1)
	Common_SleepTime(8)
	MouseClick("left",996,205)	
	Common_SleepTime(2) 
	MouseClickDrag("left",273,139,315,177)
	Common_SleepTime(2) 
	MouseClick("LEFT",267,104)
	Common_SleepTime(8)
	If WinExists("Presto! PageManager") Then
		$hMessage=WinGetHandle("Presto! PageManager")
		_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hMessage,0,0,-1,-1, False)
		Common_SleepTime(2) 
		$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
		Common_SleepTime(2)
		If $CaptureCompareResult Then
			Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
		Else
			Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
		EndIf
	Else
		Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
	EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_3()
	Local $TestCase_Number = "8.1.3"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 2)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	MouseClick("right",230,104)
	Common_SleepTime(2)
	$hContent=WinGetHandle("[Class:#32768]")
	Common_SleepTime(2)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&".bmp",$hContent,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult = Common_CompareFile ($sFilePatch&$TestCase_Number&".bmp", $sFilePatch&$TestCase_Number&"c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_4()
	Local $TestCase_Number = "8.1.4"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 2)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	MouseClick("right",230,104)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	MouseClick("left",230,104)
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_5()
	Local $TestCase_Number = "8.1.5"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 2)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	MouseClick("left",267,104)
	Common_SleepTime(2)
	MouseClick("right",267,104)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	MouseClick("left",267,104)
   Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_6()
	Local $TestCase_Number = "8.1.6"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 2)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	MouseClick("right",230,104)
	Common_SleepTime(2)
	Send("{UP}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	MouseClick("left",230,104)
   Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_7()
	Local $TestCase_Number = "8.1.7"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 2)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	MouseClick("left",305,104)
	Common_SleepTime(2)
	MouseClick("right",305,104)
	Common_SleepTime(2)
	Send("{DOWN}")
	Send("{ENTER}")
	Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	MouseClick("left",305,104)
   Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc

Func PageView8_1_8()
	Local $TestCase_Number = "8.1.8"
	Common_Del_DB()
	Local $PMTitle = Common_Run_PageManager()
	Common_SleepTime(6)
	$hPM=WinGetHandle($PMTitle)
	Common_SleepTime(2) 
	$hThunbnail=ControlGetHandle($hPM,"","SysListView323")
	Common_SleepTime(2) 
	_GUICtrlListView_ClickItem($hThunbnail,0)
	ControlListView ($hPM,"","SysListView323","Select", 0 , 2)
	Common_SleepTime(2) 
	ControlClick($hPM,"",1009)
	Common_SleepTime(5)
	PageviewButtontoPageview($hPM)
	Common_SleepTime(10)
	MouseClickDrag("LEFT",228,104,308,104)
	Common_SleepTime(6)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_1.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult1 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_1.bmp", $sFilePatch&$TestCase_Number&"_1c.bmp")   
	Common_SleepTime(2)
	MouseClick("LEFT",228,104)
   Common_SleepTime(4)
	_ScreenCapture_CaptureWnd ($sFilePatch&$TestCase_Number&"_2.bmp",$hPM,0,0,-1,-1, False)
	Common_SleepTime(2) 
	$CaptureCompareResult2 = Common_CompareFile ($sFilePatch&$TestCase_Number&"_2.bmp", $sFilePatch&$TestCase_Number&"_2c.bmp")   
	Common_SleepTime(2)
    If $CaptureCompareResult1 And $CaptureCompareResult2 Then
		Common_FileWriteLog_1("PASS", $TestCase_Number,$sFileName)
    Else
	    Common_FileWriteLog_1("____FAIL", $TestCase_Number,$sFileName)
    EndIf
	Common_Close_PM()
	DirRemove(@MyDocumentsDir& "\" &"My PageManager", 1)
EndFunc


Func IntoPageViewWhenPreferceDialog()
	if WinExists("Preference", "OK") Then
		Sleep(2000)
		ControlClick("Preference", "", 7005)    ;Select open wir\th PM.
		Sleep(500)
		ControlClick("Preference", "", 1)   ;Click OK button.
		Sleep(4000)
	EndIf
EndFunc
Func PageviewButtontoPageview($hPM)
	ControlClick($hPM,"",1034)
	Common_SleepTime(10)
	IntoPageViewWhenPreferceDialog()
EndFunc
